package com.atguigu.springcloud.service;

import com.atguigu.springcloud.dto.BurnTaskStatusDto;
import org.springframework.stereotype.Component;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 接收到消息后具体的操作
 * @date 2021/10/15 21:57
 */
@Component
public class BurnServiceImpl implements BurnService {

    //做具体的操作
    @Override
    public void taskStatus(BurnTaskStatusDto burnTaskStatusDto) {
        System.out.println("接收到消息具体的操作---获取任务id:" + burnTaskStatusDto.getTaskId());
    }
}
